home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Noia 2.0.jar / messenger / messageHeader.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-18  |  5.4 KB  |  242 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ===== messageHeader.css ==============================================
  25.   == Styles for the header toolbars of a mail message.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: msg header toolbars ::::: */
  31.  
  32. #attachmentView,
  33. #collapsedHeaderView,
  34. #expandedHeaderView {
  35.   min-width: 1px;
  36. }
  37.  
  38. /* ::::: msg header buttons ::::: */
  39. .headerContainer
  40. {
  41.   border-bottom: 1px solid ThreeDDarkShadow;
  42.   min-width: 1px;
  43.   background-color: transparent;
  44. }
  45.  
  46. /* ::::: attachment view ::::: */
  47.  
  48. #attachmentList
  49. {
  50.   -moz-appearance: listbox; 
  51.   border: 2px solid;
  52.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  53.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  54.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  55.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  56.   background-color: -moz-Field;
  57.   color: -moz-FieldText;
  58.   margin: 0px 25px 5px 0px;
  59. }
  60.  
  61. /* XXX: Move all of the description attributes to the toolkit */
  62.  
  63. description[selectable="true"]
  64. {
  65.   margin: 1px 5px 4px 5px;
  66. }
  67.  
  68. descriptionitem
  69. {
  70.   border: 1px solid transparent;
  71.   margin: 1px 1px 1px 1px;
  72. }
  73.  
  74. description[selectable="true"]:focus > descriptionitem[selected="true"][current="true"] 
  75. {
  76.   border: 1px dotted #F5DB95;
  77. }
  78.  
  79. descriptionitem[selected="true"] 
  80. {
  81.   background-color: -moz-Dialog;
  82.   color: -moz-DialogText;
  83. }
  84.  
  85. description[selectable="true"]:focus > descriptionitem[selected="true"] 
  86. {
  87.   background-color: Highlight;
  88.   color: HighlightText;
  89. }
  90.  
  91. .attachmentBox 
  92. {
  93.   width: 15em;
  94.   max-width: 10em;
  95.   text-align: left;
  96. }
  97.  
  98. .attachmentBox[largeView="true"]
  99. {
  100.   -moz-box-align: center;
  101.   -moz-box-pack: center;
  102. }
  103.  
  104. #attachmentView
  105. {
  106.   border-top: 1px solid ThreeDShadow;
  107.   border-bottom: none;
  108.   background-color: -moz-Dialog;
  109. }
  110.  
  111. /* ::::: msg header captions ::::: */
  112.  
  113. #msgHeaderView {
  114.   -moz-appearance: toolbox;
  115.   background-color: -moz-Dialog;
  116. }
  117.  
  118. .headerNameBox {
  119.   width: 7.7em;
  120.   background-color: transparent;
  121. }
  122.  
  123. .headerName {
  124.   margin: 0 .5em 0 0;
  125.   min-height: 18px;
  126.   font-weight: bold;
  127.   text-align: right;
  128.   background-color: transparent;
  129. }
  130.  
  131. .headerValue {
  132.   margin: 0 0 .25em 0;
  133.   min-width: 50px;
  134.   white-space: normal;
  135.   background-color: transparent;
  136. }
  137.  
  138. .subjectvalue {
  139.   font-weight: bold;
  140.   background-color: transparent;
  141. }
  142.  
  143. /* ::::: msg header email addresses ::::: */
  144.  
  145. .emailDisplayButton {
  146.   cursor: pointer;
  147.   color: #0000FF;
  148.   text-decoration: underline;
  149.   margin: 0;
  150.   background-color: transparent;
  151. }
  152.  
  153. .emailDisplayButton:hover {
  154.   color: #FF0000;
  155. }
  156.  
  157. .emailDisplayImage {
  158.   padding-left: 2px;
  159.   -moz-box-pack: end;
  160. }
  161.  
  162. /* ::::: email address twisty ::::: */
  163.  
  164. .addresstwisty {
  165.   padding-right: 5px;
  166.   padding-top: 2px;
  167.   list-style-image: url("chrome://global/skin/tree/twisty-clsd.png");
  168. }
  169.  
  170. .addresstwisty[open] {
  171.   list-style-image: url("chrome://global/skin/tree/twisty-open.png");
  172. }
  173.  
  174. /* ::::: view expand and collapse twisties  ::::: */
  175.  
  176. .expandHeaderViewButton,
  177. .collapsedHeaderViewButton {
  178.   margin: 2px .5em 0 .5em;
  179. }
  180.  
  181. .expandHeaderViewButton {
  182.   list-style-image: url("chrome://global/skin/tree/twisty-open.png");
  183. }
  184.  
  185. .collapsedHeaderViewButton {
  186.   list-style-image: url("chrome://global/skin/tree/twisty-clsd.png");
  187. }
  188.  
  189. /* ::::: collapsed view styles ::::: */
  190.  
  191. #collapseddateValue {
  192.   margin: 0 .5em;
  193.   text-align: right;
  194.   background-color: transparent;
  195. }
  196.  
  197. #collapsedfromBox {
  198.  width: 18em;
  199.  background:url("chrome://messenger/skin/addressbook/icons/ablist.png") no-repeat !important;
  200. }
  201.  
  202. #collapseddateBox {
  203.   width: 12em;
  204.   background-color: transparent;
  205. }
  206.  
  207. .collapsedHeaderDisplayName { 
  208.   margin: 0 .5em 0 1.5em;
  209.   min-height: 16px;
  210.   font-weight: bold;
  211.   background-color: transparent;
  212. }
  213.  
  214. .collapsedHeaderValue {
  215.   margin: 0;
  216.   background-color: transparent;
  217. }
  218.  
  219. /* ::::: Email Icon ::::: */
  220. #expandedfromBox .headerNameBox {
  221.   background:url("chrome://messenger/skin/addressbook/icons/ablist.png") no-repeat 20px 0px !important;
  222.   min-height: 16px !important;
  223.   padding-right: 0px !important;
  224. }
  225.  
  226. /* ::::: Message window attachement bar ::::: */
  227. #attachmentView {
  228.   -moz-binding: url("chrome://messenger/skin/message-view.xml#paperclip") !important;
  229.   background-color: #E3E4F0 !important;
  230.   max-height: 7em !important;
  231. }
  232.  
  233. #paperclipHolder {
  234.   position: relative !important;
  235.   left: 1px !important;
  236.   background: url("chrome://messenger/skin/paperclip.png") no-repeat top left !important;
  237. }
  238.  
  239. descriptionitem:hover {
  240.   background: #0000FF !important;
  241. }
  242.